package com.freecloud.rpc.demo1.service;

/**
 * @Author: maomao
 * @Date: 2021/8/29 2:56 下午
 */
public class ServerMain {

    public static void main(String[] args) {
        QuerService querService = new QuerServiceImpl();
        RpcProxyServer rpcProxyServer = new RpcProxyServer();
        rpcProxyServer.publisher(querService, "localhost", 8080);
    }
}
